# 搜索文件
cmake_minimum_required(VERSION 3.5)

set(project_name async_log)
project(${project_name} C CXX)

aux_source_directory(${CMAKE_CURRENT_SOURCE_DIR}/src src)
add_library(log_lib STATIC ${src})
target_include_directories(
    log_lib
    PUBLIC inc
)
if (UNIT_TEST)
    set(staticLib ${staticLib} log_lib PARENT_SCOPE)
    return()
endif()